.class public Lcom/waiqin365/lightapp/kaoqin/c/ab;
.super Lcom/waiqin365/lightapp/kaoqin/c/u;


# instance fields
.field public a:Ljava/lang/String;

.field public b:Ljava/lang/String;

.field public c:Lcom/waiqin365/lightapp/kaoqin/e/e;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x6e

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/c/u;-><init>(I)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->a:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->b:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()Lcom/waiqin365/lightapp/kaoqin/e/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    return-object v0
.end method

.method public a(Ljava/lang/String;)Z
    .locals 3

    :try_start_0
    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/e/e;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kaoqin/e/e;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->b:Ljava/lang/String;

    :cond_0
    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->a:Ljava/lang/String;

    :cond_1
    const-string/jumbo v1, "rg_id"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "rg_id"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->a:Ljava/lang/String;

    :cond_2
    const-string/jumbo v1, "time_status"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "time_status"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->b:Ljava/lang/String;

    :cond_3
    const-string/jumbo v1, "lc_status"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "lc_status"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->c:Ljava/lang/String;

    :cond_4
    const-string/jumbo v1, "is_fill"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "is_fill"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->d:Ljava/lang/String;

    :cond_5
    const-string/jumbo v1, "rg_time"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "rg_time"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->e:Ljava/lang/String;

    :cond_6
    const-string/jumbo v1, "addr"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "addr"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->f:Ljava/lang/String;

    :cond_7
    const-string/jumbo v1, "loc"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "loc"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->g:Ljava/lang/String;

    :cond_8
    const-string/jumbo v1, "lc_loc"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "lc_loc"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->h:Ljava/lang/String;

    :cond_9
    const-string/jumbo v1, "lc_addr"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_a

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "lc_addr"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->i:Ljava/lang/String;

    :cond_a
    const-string/jumbo v1, "lc_deviation"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_b

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/ab;->c:Lcom/waiqin365/lightapp/kaoqin/e/e;

    const-string/jumbo v2, "lc_deviation"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/e/e;->j:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_b
    const/4 v0, 0x1

    :goto_0
    return v0

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    goto :goto_0
.end method
